﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IWorkContext.cs" company="Skymate">
//   Copyright © 2015 Skymate. All rights reserved.
// </copyright>
// <summary>
//   工作上下文接口，记录当前登录账号的信息.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Skymate
{
    /// <summary>
    ///     工作上下文接口，记录当前登录账号的信息.
    /// </summary>
    public interface IWorkContext
    {
        /// <summary>
        ///     当前登录用户的Id.
        /// </summary>
        string CurrentCustomer { get; set; }

        /*

        /// <summary>
        ///     当前使用语言的Id.
        /// </summary>
        string WorkingLanguage { get; set; }
*/

        /// <summary>
        ///     为否为管理员.
        /// </summary>
        bool IsAdmin { get; set; }
    }
}